from rest_framework import serializers

import CarManage.models


class CarSerializer(serializers.ModelSerializer):

    class Meta:
        model = CarManage.models.Car
        fields = "__all__"


class RepairSerializer(serializers.ModelSerializer):

    class Meta:
        model = CarManage.models.Repair
        fields = "__all__"
